package com.baoteng.rbspy.util;

import java.beans.PropertyDescriptor;
import java.lang.invoke.MethodHandle;
import java.lang.reflect.Field;

import com.baoteng.rbspy.annotation.JsoupProperty;

public class BeanMethod {
	Field getter;
	Field setter;
	PropertyDescriptor getterDesc;
	PropertyDescriptor setterDesc;
	MethodHandle reader;
	MethodHandle writer;
	String dateFormat;
	JsoupProperty property;
	
	public MethodHandle getReader() {
		return reader;
	}
	public void setReader(MethodHandle reader) {
		this.reader = reader;
	}
	public MethodHandle getWriter() {
		return writer;
	}
	public void setWriter(MethodHandle writer) {
		this.writer = writer;
	}
	public String getDateFormat() {
		return dateFormat;
	}
	public void setDateFormat(String dateFormat) {
		this.dateFormat = dateFormat;
	}
	public Field getGetter() {
		return getter;
	}
	public void setGetter(Field getter) {
		this.getter = getter;
	}
	public Field getSetter() {
		return setter;
	}
	public void setSetter(Field setter) {
		this.setter = setter;
	}
	public PropertyDescriptor getGetterDesc() {
		return getterDesc;
	}
	public void setGetterDesc(PropertyDescriptor getterDesc) {
		this.getterDesc = getterDesc;
	}
	public PropertyDescriptor getSetterDesc() {
		return setterDesc;
	}
	public void setSetterDesc(PropertyDescriptor setterDesc) {
		this.setterDesc = setterDesc;
	}
	public JsoupProperty getProperty() {
		return property;
	}
	public void setProperty(JsoupProperty property) {
		this.property = property;
	}
	
}
